package com.zjitc.mapper;

import com.zjitc.pojo.Favorite;

import java.util.List;

public interface FavoriteMapper {
    void insertByP_Id(Favorite favorite);

    List<Integer> queryByU_Id(int u_id);

    Favorite favoriteExist(Favorite favorite);

    void deleteByF_id(int p_id);
}
